""" 3 模拟输入：电位器或者光线传感器 """
# https://learn.adafruit.com/adafruit-esp32-s3-tft-feather/analog-in

import time
import board
import analogio

analog_pin = analogio.AnalogIn(board.A1)

while True:
    print(analog_pin.value)
    time.sleep(0.1)
